package com.system.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @author HYXK
 * @email null@qq.com
 * @date 2020-03-27 11:55:11
 */
@TableName("lighting")
@ApiModel
public class LightingEntity implements Serializable {

    private static final long serialVersionUID = 8619677642627438142L;
    /**
     * lighting表id
     */
    @ApiModelProperty(value = "lighting表id")
    @TableId
    private Integer id;
    /**
     * 电表物理位置
     */
    @ApiModelProperty(value = "电表物理位置")
    private String lightingSite;
    /**
     * 电表编号
     */
    @ApiModelProperty(value = "电表编号")
    private String lightingNumber;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLightingSite() {
        return lightingSite;
    }

    public void setLightingSite(String lightingSite) {
        this.lightingSite = lightingSite;
    }

    public String getLightingNumber() {
        return lightingNumber;
    }

    public void setLightingNumber(String lightingNumber) {
        this.lightingNumber = lightingNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
